<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>后台管理</title>
    <link rel="stylesheet" type="text/css" href="__CSS__/admin_common.css"/>
    <link rel="stylesheet" type="text/css" href="__CSS__/admin_main.css"/>
    <link rel="stylesheet" type="text/css" href="__CSS__/printstyle.css" media="print"/>
    <script type="text/javascript" src="__JS__/modernizr.min.js"></script>
    <script type="text/javascript" src="__JS__/jquery-1.8.0.min.js"></script>
</head>
<body>
<div class="topbar-wrap white">
    <div class="topbar-inner clearfix">
        <div class="topbar-logo-wrap clearfix">
            <!-- <h1 class="topbar-logo none"><a href="index.html" class="navbar-brand">后台管理</a></h1> -->
            <img style="height:50px;display:block;overflow:hidden;" src="__IMG__/logo_mall.jpg" alt="">
        </div>
        <div class="top-info-wrap">
            <ul class="top-info-list clearfix">
                <!-- <li><a href="#">管理员</a></li> -->
                <!-- <li><a href="#">修改密码</a></li> -->
                <li><a href="{:U('Admin/Public/loginout')}">退出</a></li>
            </ul>
        </div>
    </div>
</div>
<div class="container clearfix">
    <div class="sidebar-wrap">
        <div class="sidebar-title">
            <h1>菜单</h1>
        </div>
        <div class="sidebar-content">
            <ul class="sidebar-list">
                <!--<li>
                    <a href="{:U('Admin/Index/index')}"><i class="icon-font">&#xe003;</i>常用操作</a>
                    <ul class="sub-menu">
                        <li><a href="{:U('Admin/Adminuser/index')}">用户管理</a></li>
                        <li><a href="{:U('Admin/Express/index')}">物流商户管理</a></li>
                        <li><a href="{:U('Admin/Goods/index')}">商品列表</a></li>

                    </ul>
                </li>
                <li>
                    <a href="{:U('Admin/Prize/index')}"><i class="icon-font">&#xe003;</i>配送管理</a>
                    <ul class="sub-menu">
                        <li><a href="{:U('Admin/Prize/unsend')}">未配送管理</a></li>
                        <li><a href="{:U('Admin/Prize/hassend')}">已配送管理</a></li>
                    </ul>
                </li>
                <li>
                    <a href="#"><i class="icon-font">&#xe003;</i>结算管理</a>
                    <ul class="sub-menu">
                        <li><a href="{:U('Admin/Prize/LTbalance')}">联通已结算订单</a></li>
                        <li><a href="{:U('Admin/Prize/WLbalance')}">物流已结算订单</a></li>
                    </ul>
                </li>-->
                <php>
                    foreach($menu['main'] as $k1=>$v1){
                        echo '<li>';
                        echo '<a href="'.$v1[url].'"><i class="icon-font">&#xe003;</i>'.$v1[title].'</a>';
                        if($menu['sub'][$k1]){
                            echo '<ul class="sub-menu">';
                            foreach($menu['sub'][$k1] as $k2=>$v2){
                                echo '<li><a href="'.$v2[url].'">'.$v2[title].'</a></li>';
                            }
                            echo '</ul>';
                        }
                        echo '</li>';
                    }
                </php>
            </ul>
        </div>
    </div>
    <!--/sidebar-->
    {__CONTENT__}
    <!--/main-->
</div>
</body>
</html>
<script type="text/javascript" src="__JS__/main.js"></script>